home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gTotalCost, gTotalSaving, gChickenSaving, gBreadSaving, gSugarSaving, gProductTypes, gList1Quant, gList1Prod, gList1Cost, gList1Total, gList2Quant, gList2Prod, gList2Cost, gList2Total, gList3Quant, gList3Prod, gList3Cost, gList3Total, gList4Quant, gList4Prod, gList4Cost, gList4Total, gList5Quant, gList5Prod, gList5Cost, gList5Total, gList6Quant, gList6Prod, gList6Cost, gList6Total, gList7Quant, gList7Prod, gList7Cost, gList7Total, gList8Quant, gList8Prod, gList8Cost, gList8Total, gList9Quant, gList9Prod, gList9Cost, gList9Total, gList10Quant, gList10Prod, gList10Cost, gList10Total, gList11Quant, gList11Prod, gList11Cost, gList11Total, gList12Quant, gList12Prod, gList12Cost, gList12Total, gList13Quant, gList13Prod, gList13Cost, gList13Total
- gList1Quant = 2
- gList1Prod = string("Iceland 10 (1.6kg) Chicken Drumsticks")
- gList1Cost = 2.49000000000000021
- gList1Total = 4.0
- gList2Quant = 1
- gList2Prod = string("Birds Eye 4 Beef Quarter Pounders")
- gList2Cost = 2.08999999999999986
- gList2Total = 2.08999999999999986
- gList3Quant = 1
- gList3Prod = string("Iceland 2 Jumbo Haddock Fillets")
- gList3Cost = 2.79000000000000004
- gList3Total = 2.79000000000000004
- gList4Quant = 2
- gList4Prod = string("Napolina 400g Chopped Tomatoes")
- gList4Cost = 0.78000000000000003
- gList4Total = 1.56000000000000005
- gList5Quant = 1
- gList5Prod = string("Iceland 500g Pasta Shells")
- gList5Cost = 0.55000000000000004
- gList5Total = 0.55000000000000004
- gList6Quant = 2
- gList6Prod = string("Kingsmill 800g Wmeal Bread")
- gList6Cost = 0.65000000000000002
- gList6Total = 1.0
- gList7Quant = 90
- gList7Prod = string("Tate & Lyle Granulated Sugar")
- gList7Cost = 0.58999999999999997
- gList7Total = 53.10000000000000142
- gList8Quant = 0
- gList8Prod = string("blank")
- gList8Cost = 0
- gList8Total = 0
- gList9Quant = 0
- gList9Prod = string("blank")
- gList9Cost = 0
- gList9Total = 0
- gList10Quant = 0
- gList10Prod = string("blank")
- gList10Cost = 0
- gList10Total = 0
- gList11Quant = 0
- gList11Prod = string("blank")
- gList11Cost = 0
- gList11Total = 0
- gList12Quant = 0
- gList12Prod = string("blank")
- gList12Cost = 0
- gList12Total = 0
- gList13Quant = 0
- gList13Prod = string("blank")
- gList13Cost = 0
- gList13Total = 0
- gTotalCost = gList1Total + gList2Total + gList3Total + gList4Total + gList5Total + gList6Total + gList7Total + gList8Total + gList9Total + gList10Total + gList11Total + gList12Total + gList13Total
- gChickenSaving = 0.97999999999999998
- gBreadSaving = 0.29999999999999999
- gSugarSaving = 4.5
- gTotalSaving = gChickenSaving + gBreadSaving + gSugarSaving
- gProductTypes = 46
- set the floatPrecision to 2
- member(79).text = string(gList1Quant & "x")
- member(75).text = gList1Prod
- member(80).text = string("£" & gList1Total)
- member(74).text = string(gList2Quant & "x")
- member(92).text = gList2Prod
- member(94).text = string("£" & gList2Total)
- member(89).text = string(gList3Quant & "x")
- member(91).text = gList3Prod
- member(158).text = string("£" & gList3Total)
- member(159).text = string(gList4Quant & "x")
- member(160).text = gList4Prod
- member(162).text = string("£" & gList4Total)
- member(73).text = string("£" & gTotalCost)
- member(105).text = string("£" & gTotalSaving)
- member(104).text = string(gProductTypes)
- go(#previous)
- end
-